<div class="">
    <div class="box-title text-center">
        <h4>机会</h4>
        <div class="tools">
            <a ng-click="addOpportunity()"><i class="fa fa-plus"></i></a>
        </div>
    </div>
    <div class="box-body">
        <table class="table table-hover">
            <thead>
            <tr>
                <th>项目名称</th>
                <th>客户名称</th>
                <th>成本</th>
                <th>期望收入</th>
                <th>竞争强度</th>
                <th>胜算</th>
                <th>任务</th>
            </tr>
            </thead>
            <tbody>
            <tr ng-repeat="item in opps|filter:infoFilter" ng-click="changeOpp(item.id)">
                <td>{{item.opportunity.oppName}}</td>
                <td>{{getCompanyNameById(item.customerId)}}</td>
                <td>{{item.opportunity.budget}}</td>
                <td>{{item.opportunity.expectRevenue}}</td>
                <td>{{item.opportunity.competition}}</td>
                <td>{{item.opportunity.odds}}</td>
                <td class="{{oppClipNumber[item.id]==undefined?'font-red':''}}">{{oppClipNumber[item.id]!=undefined?oppClipNumber[item.id]:"0"}}</td>
            </tr>
            </tbody>
        </table>
    </div>
</div>